package com.cmy.service;

import com.cmy.dao.UserDao;

public class UserServiceImpl implements UserService{

    //给用户选择 具体实现类的入口,将控制权交给用户
    private UserDao userDao;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void getUser() {
        userDao.getUser();
    }
}

    